<?php /* Smarty version Smarty-3.1.13, created on 2014-10-23 16:24:14
         compiled from "F:\phpweb\cms\templates\user_center\invite.tpl" */ ?>
<?php /*%%SmartyHeaderCode:170805448733c617b39-32908511%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'ac9a97c2102472c968ee809f91de3dfd9d673670' => 
    array (
      0 => 'F:\\phpweb\\cms\\templates\\user_center\\invite.tpl',
      1 => 1414052618,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '170805448733c617b39-32908511',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.13',
  'unifunc' => 'content_5448733c6f6bf8_73895190',
  'variables' => 
  array (
    'inviteLink' => 0,
    'comInviteList' => 0,
    'item' => 0,
    'userInviteList' => 0,
    'comitem' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5448733c6f6bf8_73895190')) {function content_5448733c6f6bf8_73895190($_smarty_tpl) {?><?php echo $_smarty_tpl->getSubTemplate ("layouts/operation/header.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>

<script src="public/operation/js/invite.js" type="text/javascript"></script>
<div class="top"></div>
<div class="draw">
	<img src="public/operation/photo/yqhy-mid-photo.jpg" />
</div>
<div class="inviteLink paddingLeft220">
	<!-- 此处是邀请链接的输入框-->
	<div class="layoutCenter">
		<p class="tips tips_font">邀请链接：
			复制下面的链接，通过QQ，旺旺，微博，论坛发帖等方式发给好友，对方通过该链接注册即可~</p>
		<form id="onclickcopy">
			<input type="text" tabindex="1" class="linkBox"
				placeholder="http://www.mizhe.com/#NEWFg" value="<?php echo $_smarty_tpl->tpl_vars['inviteLink']->value;?>
"/> <input type="button"
				tabindex="2" class="oncopy-but" />
		</form>
		<p class="select mt30">OR</p>
		<p class="tips tips_font">通过邮件告诉好友</p>
		<form id="emailinvitation"  >
			<input type="text" id="fin_mail" name="fin_mail" tabindex="1" class="inputBox emailBox"
				placeholder="xxxx@xxx" /> <input type="text" tabindex="2"  id="sin_mail" name="sin_mail"
				class="inputBox emailBox" placeholder="xxxx@xxx" />
			<div>
				<textarea name="invite_msg" id="invite_msg" tabindex="3" class="inputBox textareaBox"
					placeholder="邀请语："></textarea>
				<input id="invite_send" type="button" value="" tabindex="4" class="emailinvitation-but" />
			</div>
		</form>
	</div>
</div>
<div class="inviteRules">
	<!-- 此处是邀请规则入框-->
	<div class="layoutCenter">
		<img src="public/operation/photo/btn-yqgz.jpg" />
		<pre class="tips_font yqgz_font">
    成功邀请一位好友登录淘粉吧，即可随机获得集分宝，奖励将在24小时内发放到账。
	您每邀请一个朋友加入淘粉吧（登录且成功返利），将获得最高31元（随机集分宝奖励+30元现金）的邀请奖励。
	邀请好友必须是新用户（即以前没登录过淘粉吧），如果她已是淘粉吧老用户了，那么是没有奖励的。
	您可以把您的专用邀请链接通过QQ或者旺旺发给您的朋友，也可以分享到您的社区里面去。
	凡购买会员专享超高返利商品订单将不计算在邀请奖励范围。比如，邀请的好友通过超高返利下单成功返利30元，也不计算在邀请奖励内。
	新邀请奖励规则从2014年3月20日开始实施，即2014年3月20日以后的邀请记录将按新规则执行。
    </pre>
		<input type="text" class="zbtxBox yqgz_font tips_font"
			value="禁作弊提醒：严禁自己邀请自己、刷小号等作弊行为，一旦反作弊系统监测到作弊行为，将拉黑账号处理，邀请也无效。" />
	</div>

</div>
<div class="inviteLogs">
	<!-- 此处是邀请记录-->
	<div class="layoutCenter">
		<div>
			<p class="yqjlTitle">正在领取现金奖励的童鞋，看看有没有你的名字！</p>
			<img src="public/operation/photo/btn-yqjl.jpg" class="yqjiluTitle" />
		</div>
		<div class="yqjiangli">
			<table>
				<?php  $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['item']->_loop = false;
 $_smarty_tpl->tpl_vars['k'] = new Smarty_Variable;
 $_from = $_smarty_tpl->tpl_vars['comInviteList']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value){
$_smarty_tpl->tpl_vars['item']->_loop = true;
 $_smarty_tpl->tpl_vars['k']->value = $_smarty_tpl->tpl_vars['item']->key;
?>
					<tr>
						<td><img src="public/operation/photo/xng.jpg" /></td>
						<td><span class="fontGreen"><?php echo $_smarty_tpl->tpl_vars['item']->value->username;?>
</span><br />邀请的好友 <?php echo $_smarty_tpl->tpl_vars['item']->value->invite_user_mail;?>

							成功返利100积分</td>
					</tr>

				<?php } ?>		 
			</table>
		</div>
		<div class="yqjilu">
			<table>
				<tr>
					<th>&nbsp;</th>
					<th class="fontBlue">状态</th>
					<th class="fontBlue">返利</th>
				</tr>
				
				<?php  $_smarty_tpl->tpl_vars['comitem'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['comitem']->_loop = false;
 $_smarty_tpl->tpl_vars['k'] = new Smarty_Variable;
 $_from = $_smarty_tpl->tpl_vars['userInviteList']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['comitem']->key => $_smarty_tpl->tpl_vars['comitem']->value){
$_smarty_tpl->tpl_vars['comitem']->_loop = true;
 $_smarty_tpl->tpl_vars['k']->value = $_smarty_tpl->tpl_vars['comitem']->key;
?>
					 
					<tr>
						<td><?php echo $_smarty_tpl->tpl_vars['comitem']->value->create_time;?>
 邀请<span class="fontBlue"><?php echo $_smarty_tpl->tpl_vars['comitem']->value->invite_user_mail;?>
</span></td>
						<?php if ($_smarty_tpl->tpl_vars['comitem']->value->state=="1"){?>
							<td><span class="fontRed">已注册</span></td>
						<?php }?>
						<?php if ($_smarty_tpl->tpl_vars['comitem']->value->state=="0"){?>
							<td><span class="fontBlue">未注册</span></td>
						<?php }?>
						<?php if ($_smarty_tpl->tpl_vars['comitem']->value->rebate=="1"){?>
							<td><span class="fontRed">已返利</span></td>
						<?php }?>
						<?php if ($_smarty_tpl->tpl_vars['comitem']->value->rebate=="0"){?>
							<td><span class="fontBlue">未返利</span></td>
						<?php }?>
<!--						<td><span class="fontRed"><?php echo $_smarty_tpl->tpl_vars['comitem']->value->state;?>
</span></td>-->
<!--						<td><span class="fontRed"><?php echo $_smarty_tpl->tpl_vars['comitem']->value->rebate;?>
</span></td>-->
					</tr>
				<?php } ?>
				
				 
			</table>
		</div>
	</div>

</div>
<?php echo $_smarty_tpl->getSubTemplate ("layouts/operation/footer.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>

<?php }} ?>